import React from 'react'
import { Link } from 'react-router-dom'
import style from './index.module.less'

const Home = () => {
  return (
    <div className={[`${style.homePage}`]}>
      <main>
        <h2>home page</h2>
      </main>
      <nav className='nav-content'>
        <Link to="/about">go to about</Link>
        <Link to="/user">go to user</Link>
      </nav>
    </div>
  )
}

export default Home;
